package IO;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;

public class Iotest2 {
    private static void showContent(String path)throws IOException {
        FileInputStream fis = new FileInputStream(path);
       int b;
        while (( b=fis.read()) != -1) {
            System.out.print((char)b);
        }
        fis.close();

    }
  public static void main(String[] args)throws IOException{
        showContent("e:\\a.txt");
}
}